# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinxcontrib-actdiag
_pkgname=sphinxcontrib-actdiag
pkgver=3.0.0
pkgrel=2
pkgdesc="Sphinx actdiag extension"
url="https://github.com/blockdiag/sphinxcontrib-actdiag"
arch="noarch"
license="BSD-2-Clause"
depends="py3-actdiag py3-blockdiag py3-sphinx python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/blockdiag/sphinxcontrib-actdiag/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
options="!check" # sphinx-testing

build() {
	python3 setup.py build
}

check() {
	python3 -m unittest discover
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
caef6c9e8e968e9053150a28aede2a07be1396ba2426745cd35cbb4a2093d93c1056336c49d1f7a901e22845e547b7e46b6caecc9f7cfea7ce7f7bd46c2ff49e  py3-sphinxcontrib-actdiag-3.0.0.tar.gz
"
